package com.teamin.vo;

import io.swagger.annotations.ApiModelProperty;

/**
 * 文件与文件夹 组合bean
 * <p>
 * Created by e on 2017/11/20
 *
 * @author <a href="http://eregg.com">eregg</a>
 */
public class NetDiskFolderAndFileVO {

    @ApiModelProperty(value = "是否是文件")
    private boolean isFile;

    @ApiModelProperty(value = "文件（文件夹）Id")
    private Long fileId;

    @ApiModelProperty(value = "文件（文件夹）名称")
    private String fileName;

    @ApiModelProperty(value = "文件的后缀")
    private String suffix;

    @ApiModelProperty(value = "文件大小")
    private String fileSize;

    @ApiModelProperty(value = "最后更新时间")
    private Long lastTime;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "uuid")
    private String uuid;

    public boolean isFile() {
        return isFile;
    }

    public void setFile(boolean file) {
        isFile = file;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public Long getLastTime() {
        return lastTime;
    }

    public void setLastTime(Long lastTime) {
        this.lastTime = lastTime;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "NetDiskFolderAndFileVO{" +
                "isFile=" + isFile +
                ", fileId=" + fileId +
                ", fileName='" + fileName + '\'' +
                ", suffix='" + suffix + '\'' +
                ", fileSize='" + fileSize + '\'' +
                ", lastTime=" + lastTime +
                ", createTime=" + createTime +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
